package org.hxyjs.dao;

import org.hxyjs.entity.Others;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface OthersDao {
    public List<Others>  getAllOtherss()  throws Exception;
    public Others  selectOthersBySno(String sno)  throws Exception;
    public List<Others> getOthersByPage(PageInfo pageInfo) throws Exception;
    //增删改的返回值都是整数
    Integer deleteOthersByOno(String Ono)  throws Exception;
    Integer updateOthersByOno(Others others)  throws Exception;
    Integer addOthersByOno(Others others)  throws Exception;
    Others getOthersByOno(String ono)  throws Exception;
}
